﻿<Controls:SinacorWindow
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:Custom="http://schemas.xceed.com/wpf/xaml/datagrid"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Controls="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient;assembly=Sinacor.Infra.UI.Controls"
    
    WindowStartupLocation="CenterScreen"
    WindowState="Normal"
    Title="{DynamicResource Bovespa.Contabil.Label.GeracaoIntegracaoContabil}"
	Width="460"
	Height="330"
    
	x:Class="Sinacor.UI.Bovespa.Contabil.View.SmartClient.GeracaoIntegracaoContabil"
    ModulePlus="False"
    ModuleId="ORD">

    <Controls:SinacorExpanderContainer>
        <Controls:SinacorExpander	Header="{DynamicResource Bovespa.Contabil.Label.GeracaoIntegracaoContabil}" 
									AllowExpand="False"
                                    x:Name="ExpGeracaoIntegracaoContabil"
									IsExpanded="True">
            <Grid>

                        <Controls:SinacorLabel	Width="125"
										        HorizontalAlignment="Left"
										        VerticalAlignment="Top"
										        HorizontalContentAlignment="Right"
                                                x:Name="LblDatasDisponiveis"
										        Content="{DynamicResource Bovespa.Contabil.Label.DatasDisponiveis}"
												IsTargetFieldRequired="True"/>
                        <Controls:SinacorComboBox	Width="100"
											     	HorizontalAlignment="Left"
											     	VerticalAlignment="Top"
											     	Margin="129,0,0,0"
											     	IsEnabled="True"
											     	TabIndex="1"
                                                    SelectedValue="{Binding Filtro.DataMovimento}"
                                                    ItemsSource="{Binding ListaCalendarios}"
                                                    SelectedValuePath="DataPregao" 
                                                    DisplayMemberPath="DataFormatada" 
                                                    x:Name="CboDatasDisponiveis"
													IsRequired="True"/>
                        <Controls:SinacorButton	Width="100"
												HorizontalAlignment="Left"
												VerticalAlignment="Top"
												Margin="233,0,0,0"
												Content="{DynamicResource Bovespa.Contabil.Label.Gerar}"
												IsDefault="True"
												TabIndex="2"
                                                x:Name="BtnOk"
                                                OnBufferedClick="BtnOk_OnBufferedClick"
												CausesValidation="True"/>

            </Grid>
        </Controls:SinacorExpander>
    </Controls:SinacorExpanderContainer>
</Controls:SinacorWindow>